﻿<template id="wtmtpl-upload-img">
	<div style='clear:both;' />
	<div class="wtm-upload-img-container">
		<img class="layui-upload-img wtm-upload-img"
			 alt="{{d.alt}}"
			 layer-src="/_Framework/GetFile?id={{d.fileId}}&_DONOT_USE_CS={{d.cs}}"
			 src="/_Framework/GetFile?id={{d.fileId}}&stream=true&width={{d.width}}&height={{d.height}}&_DONOT_USE_CS={{d.cs}}"
			 width="{{d.width}}"
			 height="{{d.height}}">

		{{# if(d.disabled===false){ }}
		<i class="layui-icon layui-icon-close-fill wtm-upload-del wtm-upload-img-del" input-id="{{d.id}}"></i>
		{{# } }}
	</div>
</template>

<template id="wtmtpl-upload-file">
	<span class="wtm-upload-file">
		<i class="layui-icon layui-icon-file"></i>
		{{d.fileName}}
		{{# if(d.disabled===false){ }}
		<i class="layui-icon layui-icon-close-fill wtm-upload-del wtm-upload-file-del" input-id="{{d.id}}"></i>
		{{# } }}
	</span>
</template>